package com.CST.vo.ys;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author chengwen
 */
@Data
public class YsBusinessTargetVO {
    @ApiModelProperty("ID")
    @ExcelIgnore
    private Long id;

    @ApiModelProperty("编号")
    @ExcelProperty("编号")
    private Long num;

    @ApiModelProperty("预算科目ID")
    @ExcelIgnore
    private Integer subjectId;

    @ApiModelProperty("预算科目编码")
    @ExcelProperty("预算科目编码")
    private String subjectCode;

    @ApiModelProperty("预算科目名称")
    @ExcelProperty("预算科目名称")
    private String subjectName;

    @ApiModelProperty("部门编码")
    @ExcelProperty("部门编码")
    private String deptCode;

    @ApiModelProperty("部门名称")
    @ExcelProperty("部门名称")
    private String deptName;

    @ApiModelProperty("预算率")
    @ExcelProperty("预算率")
    private BigDecimal budgetRate;

    @ApiModelProperty("三香执行率")
    @ExcelProperty("三香执行率")
    private BigDecimal sxImplementationRate;

    @ApiModelProperty("浒关执行率")
    @ExcelProperty("浒关执行率")
    private BigDecimal xgImplementationRate;

    @ApiModelProperty("全院执行率")
    @ExcelProperty("全院执行率")
    private BigDecimal qyImplementationRate;

    @ApiModelProperty("创建时间")
    @ExcelIgnore
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;

    @ApiModelProperty("更新时间")
    @ExcelProperty("时间")
    private LocalDateTime updateTime;

    @ApiModelProperty("合计")
    @ExcelProperty("合计")
    private BigDecimal totalRate;

    @ApiModelProperty("偏差率")
    @ExcelProperty("偏差率")
    private BigDecimal deviationRate;

    @ApiModelProperty("时间")
    @ExcelProperty("时间")
    private Integer period;

    @ApiModelProperty("部门Id")
    private Integer deptId;
}
